package com.wdl.fmnew.app.fragmentDemo;

import com.wdl.fmnew.app.fragmentDemo.demo01.Demo01Fragment;
import com.wdl.fmnew.app.fragmentDemo.demo01.Demo01Module;
import com.wdl.fmnew.app.fragmentDemo.demo02.Demo02Fragment;
import com.wdl.fmnew.core.di.scope.PerFragment;

import dagger.Module;
import dagger.android.ContributesAndroidInjector;

/**
 * Created by wdl on 2017/9/19.
 */
@Module
public abstract class FragementDemoModule {
    @PerFragment
    @ContributesAndroidInjector(modules = Demo01Module.class)
    abstract Demo01Fragment demo01Fragment();

    @PerFragment
    @ContributesAndroidInjector
    abstract Demo02Fragment demo02Fragment();
}
